[INFO] cloning repository https://github.com/steshaw/rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/steshaw/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteshaw%2Frustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteshaw%2Frustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 06b46229ca0dd5b5fb874746d6ace8665151b11f
[INFO] building steshaw/rustlings against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteshaw%2Frustlings" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/steshaw/rustlings on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/steshaw/rustlings
[INFO] finished tweaking git repo https://github.com/steshaw/rustlings
[INFO] tweaked toml for git repo https://github.com/steshaw/rustlings written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/steshaw/rustlings already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6b59b910bdd96015a3013727b74b20cc54191dd99dd1703a771e0423dca8b720
[INFO] running `Command { std: "docker" "start" "-a" "6b59b910bdd96015a3013727b74b20cc54191dd99dd1703a771e0423dca8b720", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b59b910bdd96015a3013727b74b20cc54191dd99dd1703a771e0423dca8b720", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b59b910bdd96015a3013727b74b20cc54191dd99dd1703a771e0423dca8b720", kill_on_drop: false }`
[INFO] [stdout] 6b59b910bdd96015a3013727b74b20cc54191dd99dd1703a771e0423dca8b720
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 11fef1ef928fdf35cb68ccb7089820cc0b25dbfea6876cb05b702b3152cf7747
[INFO] running `Command { std: "docker" "start" "-a" "11fef1ef928fdf35cb68ccb7089820cc0b25dbfea6876cb05b702b3152cf7747", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling ucd-util v0.1.3
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling smallvec v0.6.9
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling syn v0.15.34
[INFO] [stderr]    Compiling utf8-ranges v1.0.2
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling regex v1.1.6
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling lock_api v0.2.0
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling regex-syntax v0.6.6
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling serde v1.0.92
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling same-file v1.0.4
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling walkdir v2.2.7
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling parking_lot_core v0.5.0
[INFO] [stderr]    Compiling parking_lot v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling aho-corasick v0.7.3
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling termios v0.3.1
[INFO] [stderr]    Compiling clicolors-control v1.0.0
[INFO] [stderr]    Compiling inotify-sys v0.1.3
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling inotify v0.6.1
[INFO] [stderr]    Compiling filetime v0.2.5
[INFO] [stderr]    Compiling clicolors-control v0.2.0
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling mio-extras v2.0.5
[INFO] [stderr]    Compiling notify v4.0.12
[INFO] [stderr]    Compiling console v0.7.5
[INFO] [stderr]    Compiling console v0.6.2
[INFO] [stderr]    Compiling indicatif v0.9.0
[INFO] [stderr]    Compiling serde_derive v1.0.92
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling rustlings v2.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 40.75s
[INFO] running `Command { std: "docker" "inspect" "11fef1ef928fdf35cb68ccb7089820cc0b25dbfea6876cb05b702b3152cf7747", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11fef1ef928fdf35cb68ccb7089820cc0b25dbfea6876cb05b702b3152cf7747", kill_on_drop: false }`
[INFO] [stdout] 11fef1ef928fdf35cb68ccb7089820cc0b25dbfea6876cb05b702b3152cf7747
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe38edfc879e44f54972ac8a4ef2f7d4c59ecd5a27493c449f7cddcc0abc5c86
[INFO] running `Command { std: "docker" "start" "-a" "fe38edfc879e44f54972ac8a4ef2f7d4c59ecd5a27493c449f7cddcc0abc5c86", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling ryu v0.2.8
[INFO] [stderr]    Compiling predicates-core v1.0.0
[INFO] [stderr]    Compiling escargot v0.4.0
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling treeline v0.1.0
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling normalize-line-endings v0.2.2
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling predicates-tree v1.0.0
[INFO] [stderr]    Compiling serde_json v1.0.39
[INFO] [stderr]    Compiling float-cmp v0.4.0
[INFO] [stderr]    Compiling predicates v1.0.1
[INFO] [stderr]    Compiling assert_cmd v0.11.1
[INFO] [stderr]    Compiling rustlings v2.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]   --> examples/try_from_into.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct Person {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 9  |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     age: usize,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]  --> examples/enums3.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Message {
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `State` is never constructed
[INFO] [stdout]   --> examples/enums3.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct State {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `change_color` is never used
[INFO] [stdout]   --> examples/enums3.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn change_color(&mut self, color: (u8, u8, u8)) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `quit` is never used
[INFO] [stdout]   --> examples/enums3.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn quit(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `echo` is never used
[INFO] [stdout]   --> examples/enums3.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn echo(&self, s: String) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `move_position` is never used
[INFO] [stdout]   --> examples/enums3.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn move_position(&mut self, p: Point) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `process` is never used
[INFO] [stdout]   --> examples/enums3.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn process(&mut self, message: Message) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> examples/test1.rs:12:29
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let price_per_item = if (quantity > 40) { 1 } else { 2 };
[INFO] [stdout]    |                             ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 12 -     let price_per_item = if (quantity > 40) { 1 } else { 2 };
[INFO] [stdout] 12 +     let price_per_item = if quantity > 40 { 1 } else { 2 };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `test1`
[INFO] [stdout]   --> examples/test1.rs:28:2
[INFO] [stdout]    |
[INFO] [stdout] 28 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `examples/test1.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `test3`
[INFO] [stdout]   --> examples/test3.rs:27:2
[INFO] [stdout]    |
[INFO] [stdout] 27 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `examples/test3.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustlings` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rustlings` due to 2 previous errors; 1 warning emitted
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fe38edfc879e44f54972ac8a4ef2f7d4c59ecd5a27493c449f7cddcc0abc5c86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe38edfc879e44f54972ac8a4ef2f7d4c59ecd5a27493c449f7cddcc0abc5c86", kill_on_drop: false }`
[INFO] [stdout] fe38edfc879e44f54972ac8a4ef2f7d4c59ecd5a27493c449f7cddcc0abc5c86
